package com.shiyi.controller;

import com.shiyi.service.DubboDemoService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author qiu
 * @date 2021-03-06 上午 03:10
 * @since 1.0
 */
@RestController
@RequestMapping("/dubbo")
public class DubboDemoController {

    @Resource
    private DubboDemoService dubboDemoService;

    @RequestMapping("/test")
    public String testDubbo() {
        return dubboDemoService.testDubbo();
    }
}
